package com.atguigu.day14.enum01.e2;

public enum Gender implements Run {
    MAN{
        @Override
        public void run() {
            System.out.println("男生大步流星跑");
        }
    },WOMAN{
        @Override
        public void run() {
            System.out.println("女生婀娜多姿跑.....");
        }
    };

   /* @Override
    public void run() {
        System.out.println("跑起来");
    }*/
}
interface Run{
    void run();
}
